﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true"
    CodeBehind="TourDuLich.aspx.cs" Inherits="NGU.TourDuLich" %>

<%@ Register Src="~/WUC/searchpage_tour_toppart.ascx" TagPrefix="uc1" TagName="searchpage_tour_topbar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="styles/subpage.css" rel="stylesheet" type="text/css" />
    <link href="styles/searchpage.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_wrap_body" runat="server">
    <!--search_page_topbar -->
    <uc1:searchpage_tour_topbar ID="topbar" runat="server" />
    <!--End search_page_topbar -->
    <div class="clear">
    </div>
    <!--page-all-->
    <div class="page-all">
        <div class="top-pageall">
            <!-- direct-top-page -->
            <div class="direct-top-page">
                <div>
                    Tour du lịch<span id="span_type" runat="server"> trong nước</span><span id="span_departure" runat="server">, khởi hành từ <span class="strong-type">TP. Hồ Chí Minh</span></span><span id="span_visit" runat="server">, đến địa điểm <span class="strong-type">Hà Nội</span></span>
                </div>
               <div class="other_details" runat="server" id="other_search_details">
                    Địa điểm: <span id="span_location" runat="server" class="strong-type">...</span><br />
                    Từ ngày: <span id="span_fromdate" runat="server" class="strong-type">...</span> đến <span id="span_todate" runat="server" class="strong-type">...</span> <br />
                    Giá từ: <span id="span_fromprice" runat="server" class="strong-type" >0</span> đến <span id="span_toprice" class="strong-type" runat="server">...</span>
               </div>            
            </div>
            <!-- End direct-top-page -->
            <div class="clear">
            </div>
            <span id="no_info_msg" runat="server" style="padding-bottom:10px; font-style:italic; font-size:14px"></span>
            <!-- table-list-tours -->
            <table class="table-list-tours" border="0" cellpadding="0" cellspacing="0" width="958">
                <tbody>
                    <!--row-headoflist-->
                    <tr class="rows-headoflist">
                        <td width="60">
                            Hình ảnh
                        </td>
                        <td width="50">
                            Mã tour
                        </td>
                        <td width="250">
                            Tên Tour
                        </td>
                        <td width="50">
                            Số ngày
                        </td>
                        <td width="80">
                            Giá
                        </td>
                        <td width="80">
                            Ngày đi
                        </td>
                        <td width="80">
                            Ngày về
                        </td>
                        <td width="100">
                            Nơi khởi hành
                        </td>
                        <td width="60">
                            Số chổ còn trống
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <!--End row-headoflist-->
                    <%
                        if (this.tourLst != null)
                        {
                            for (int i = 0; i < this.tourLst.Count; i++)
                            {
                                if (i % 2 == 0)
                                {
                    %>
                    <tr class="rows-list-nonbg">
                        <%
}
                            else
                            {
                        %>
                        <tr class="rows-list-nonbg rows-list-addbg">
                            <% 
}
                            %>
                            <td class="td_image_tour">
                                <img src="<%=this.tourLst[i].TourImage %>" alt="<%=this.tourLst[i].TourName %>" />
                            </td>
                            <td class="td_code_tour">
                                <div class="code-tour">
                                    <a href="/ChiTietTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>">
                                        <%=this.tourLst[i].TripId %></a></div>
                            </td>
                            <td class="td_named_tour">
                                <div class="named-tour">
                                    <a title="<%=this.tourLst[i].TourName %>" href="/ChiTietTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>">
                                        <%=this.tourLst[i].TourName %></a>
                                </div>
                            </td>
                            <td class="num_date">
                                <%=this.tourLst[i].DayNight %>
                            </td>
                            <td class="td_price_tour">
                                <span class="valid-tour-style">
                                    <%=this.tourLst[i].Price.ToString("##,#", System.Globalization.CultureInfo.CreateSpecificCulture("en-US"))  %>
                                    <%=this.tourLst[i].Unit %></span>
                            </td>
                            <td class="td_date">
                                <%=string.Format("{0:dd/MM/yyyy}", this.tourLst[i].StartDay) %><br />
                                <%=this.tourLst[i].StartDay.ToShortTimeString() %>
                            </td>
                            <td class="td_date">
                                <%=string.Format("{0:dd/MM/yyyy}",this.tourLst[i].EndDay) %><br />
                                <%=this.tourLst[i].EndDay.ToShortTimeString()%>
                            </td>
                            <td width="50">
                                <%=this.tourLst[i].DeparturePosition %>
                            </td>
                            <td class="td_quantity">
                                <span class="valid-tour-style">
                                    <%=this.tourLst[i].Quantity %></span>
                            </td>
                            <td>
                                <div class="gototour">
                                    <a href="/ChiTietTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>" title="Xem chi tiết tour">
                                        <img src="../images/but-details-list.png"></a></div>
                                <div class="gototour">
                                    <a href="/DatTour.aspx?wsid=&tripid=<%=this.tourLst[i].TripId %>" title="Đặt tour">
                                        <img src="../images/but-booking-list.png"></a></div>
                            </td>
                        </tr>
                        <%
                            }
                        }
                        %>
                    <!-- rows-list-addbg -->
                    <%--<tr class="rows-list-nonbg rows-list-addbg">
                                <td class="td_image_tour">
                                    <img src="../images/tour/day1.png" alt="FTO.." />
                                </td>
                                <td class="td_code_tour">
                                    <div class="code-tour">
                                        <a href="#">FTO-HN05-261212</a></div>
                                </td>
                                <td class="td_named_tour">
                                    <div class="named-tour">
                                        <a title="Hà Nội - Hạ Long - Yên Tử - Lào Cai - Sapa" href="#">Hà Nội - Hạ Long - Yên
                                            Tử - Lào Cai - Sapa</a>
                                    </div>
                                </td>
                                <td class="num_date">
                                    5
                                </td>
                                <td class="td_price_tour">
                                    <span class="valid-tour-style">4.730.000 USD/Người</span>
                                </td>
                                <td class="td_date">
                                    6/12/2012<br />
                                    12:00 AM
                                </td>
                                <td class="td_date">
                                    30/12/2012
                                </td>
                                <td width="50">
                                    TP.HCM
                                </td>
                                <td class="td_max_quantity">
                                    <span class="valid-tour-style">9</span>
                                </td>
                                <td>
                                    <div class="gototour">
                                        <a href="#" title="Xem chi tiết tour">
                                            <img src="../images/but-details-list.png"></a></div>
                                    <div class="gototour">
                                        <a href="#" title="Đặt tour">
                                            <img src="../images/but-booking-list.png"></a></div>
                                </td>
                            </tr>--%>
                    <!-- End rows-list-addbg -->
                    <%--<tr>
                        <td style="padding: 10px;" colspan="10" align="right">
                            <a href="#" style="text-align: center; text-decoration: none; color: #00F; font-size: 14px;
                                font-weight: bold">&gt;&gt; Xem thêm </a>
                        </td>
                    </tr>--%>
                </tbody>
            </table>
            <!-- End table-list-tours -->
        </div>
    </div>
    <!--End page-all-->
</asp:Content>
